Skip to content

Conversation

@beingamanforever
Copy link

Fix handling of categorical inputs in grp2idx when all observations are <undefined>.

  • Empty categorical inputs preserve defined categories
  • All-undefined categorical vectors now return empty gn / gl and NaN indices

Added focused BISTs covering both cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant